import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import router from './router';
import store from './store' ;
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import './style/default.css'
// import './style/index.scss'
import './permission'

// import installIcons from '@/icons'
// import installFilter from '@/filters'
let app = createApp(App)
// 添加环境变量到全局属性
app.config.globalProperties.$env = import.meta.env


app.use(store).use(router).use(ElementPlus).mount('#app')
console.log('当前环境:', app.config.globalProperties.$env.MODE)
console.log('服务:', app.config.globalProperties.$env.VITE_API_URL)
